package com.loan.system.service;

import com.alibaba.fastjson.JSONObject;
import com.loan.common.core.domain.PageQuery;
import com.loan.common.core.domain.entity.SysUser;
import com.loan.common.core.page.TableDataInfo;
import com.loan.system.domain.OverConfigEntity;

import java.util.List;

public interface OverConfigService {

    TableDataInfo<OverConfigEntity> selectPageList(OverConfigEntity entity, PageQuery pageQuery);

    OverConfigEntity selectById(Long id);

    int add(OverConfigEntity entity);

    int update(OverConfigEntity entity);

    int delete(Long id);

    List<Long> getUserIdsById(Long id);

    int updateOverUserIds(JSONObject jsonObject);

    List<Long> selectByUserId(Long userId);

    List<OverConfigEntity> selectList(Long companyId);

    int selectByCompanyId(Long companyId);

    List<SysUser> getListOverUserIds(String beginTime, String endTime);

    /**
     * 催收配置获取催收员列表
     * @param id 配置id
     * @return
     */
    List<SysUser> getOverUserList(Long id);
}
